package com.util.cdb.dao;

import com.util.cdb.bean.entity.Yhml;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @description:
 * @author: fengfazheng
 * @create: 2021-12-26 20:22
 **/
@Repository
public interface YhmlRepository extends JpaRepository<Yhml, String> {
    /** 通过userId获取
     * @param userId
     * @return
     */
    List<Yhml> findAllByUserId(String userId);
}
